Share via


ServiceOwnerAttribute Constructor (String, String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Note: This API is now obsolete.

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
<ObsoleteAttribute("This constructor is for backward compatiblity only, use the single argument constructor. Your ServiceOwner guid should be the same as your ServicePrincipal guid.",  _
    False)> _
Public Sub New ( _
    serviceOwner As String, _
    servicePrincipal As String _
)
[ObsoleteAttribute("This constructor is for backward compatiblity only, use the single argument constructor. Your ServiceOwner guid should be the same as your ServicePrincipal guid.", 
    false)]
public ServiceOwnerAttribute(
    string serviceOwner,
    string servicePrincipal
)
[ObsoleteAttribute(L"This constructor is for backward compatiblity only, use the single argument constructor. Your ServiceOwner guid should be the same as your ServicePrincipal guid.", 
    false)]
public:
ServiceOwnerAttribute(
    String^ serviceOwner, 
    String^ servicePrincipal
)
[<ObsoleteAttribute("This constructor is for backward compatiblity only, use the single argument constructor. Your ServiceOwner guid should be the same as your ServicePrincipal guid.", 
    false)>]
new : 
        serviceOwner:string * 
        servicePrincipal:string -> ServiceOwnerAttribute
public function ServiceOwnerAttribute(
    serviceOwner : String, 
    servicePrincipal : String
)

Parameters

.NET Framework Security

See Also

Reference

ServiceOwnerAttribute Class

ServiceOwnerAttribute Overload

Microsoft.VisualStudio.Services.Common Namespace