Visual Basic (Declaration) | |
---|---|
<ConfigurationPropertyAttribute(Name="serviceName", IsDefaultCollection=False, IsRequired=True, IsKey=True)> Public Property ServiceName As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[ConfigurationPropertyAttribute(Name="serviceName", IsDefaultCollection=false, IsRequired=true, IsKey=true)] public string ServiceName {get; set;} |
C++/CLI | |
---|---|
[ConfigurationPropertyAttribute(Name="serviceName", IsDefaultCollection=false, IsRequired=true, IsKey=true)] public: property String^ ServiceName { String^ get(); void set (String^ value); } |
Return Value
A String containing the name of the service.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family